PaymentPlugins\WooCommerce\PPCP\Payments\Gateways\PayPalGateway S

Total Complexity 35
Dependencies 2
Dependents 2
Total lines 550
Lines of code 492
Logical lines of code 68
Comment lines 19
Methods 17
Properties 4

Methods 17

Method Rating Maintainability Complexity Lines of code
init_form_fields()
B
22
7 297
get_payment_method_data()
S
43 4 51
get_product_form_fields()
S
45 4 47
add_query_params()
S
59 4 15
get_payment_section_options()
S
57 3 16
is_show_popup_icon_enabled()
S
74 2 4
get_admin_script_dependencies()
S
59 1 14
validate_fields()
S
91 1 2
is_product_section_enabled()
S
65 1 9
__construct()
S
67 1 7
express_checkout_fields()
S
83 1 5
init_hooks()
S
71 1 5
get_minicart_script_handles()
S
76 1 4
get_cart_script_handles()
S
76 1 4
get_express_checkout_script_handles()
S
76 1 4
get_checkout_script_handles()
S
76 1 4
get_product_script_handles()
S
76 1 4